// samsting : this file is auto create.

#include "R-kvstore/2015-01-01/DescribeRegionsResponse.h"

namespace aliyun { namespace R_kvstore {

DescribeRegionsResponse::DescribeRegionsResponse() {
}

const string& DescribeRegionsResponse::KVStoreRegion::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeRegionsResponse::KVStoreRegion::GetZoneIds(void) const {
  return ZoneIds_;
}

const string& DescribeRegionsResponse::KVStoreRegion::GetLocalName(void) const {
  return LocalName_;
}

const std::vector<DescribeRegionsResponse::KVStoreRegion>& DescribeRegionsResponse::GetRegionIds(void) const {
  return RegionIds_;
}

const char* DescribeRegionsResponse::BaseKey(void) {
  return "DescribeRegionsResponse";
}

void DescribeRegionsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int RegionIds__length = 0;
  UnmarshallerInt(RegionIds__length, response_map, "DescribeRegionsResponse.RegionIds.Length");
  if(RegionIds__length >= 0) {
    RegionIds_.resize(RegionIds__length);
    for(int i1 = 0; i1 < RegionIds__length; i1++) {
      UnmarshallerString(RegionIds_[i1].RegionId_, response_map, "DescribeRegionsResponse.RegionIds["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(RegionIds_[i1].ZoneIds_, response_map, "DescribeRegionsResponse.RegionIds["+string_ValueOfInt(i1)+"].ZoneIds");
      UnmarshallerString(RegionIds_[i1].LocalName_, response_map, "DescribeRegionsResponse.RegionIds["+string_ValueOfInt(i1)+"].LocalName");
    } // for(int i1 = 0; i1 < RegionIds__length; i1++) {
  } // if(RegionIds__length >= 0) {

}


} } // namespace aliyun { namespace R_kvstore {

// end of file 
